﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IndyMosaic.Core.Data.PaginatedList<IndyMosaic.Models.Podcast.Entry>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>
<asp:Content id="HeadContent" contentplaceholderid="HeaderContent" runat="server">
    <script type="text/javascript" src="<%: Url.Content("~/Scripts/audio-player.js") %>"></script>  
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2 style="float: left;">Podcasts</h2>
    <div id="rssFeed">
        <%= Html.ActionLink("feed", "RSS", null, new { @class = "rss", title="Subscribe to our podcasts" })%>
    </div>
    <div style="clear: both;"></div>
    
    <% foreach (var entry in Model)
       {
            Html.RenderPartial("EntrySummary", entry);       
       } %>
    
    <% Html.RenderPartial("Pager", Model); %>
    <div style="clear: both;">
    </div>
</asp:Content>
